Skip to content

chore: shared Windows agent launcher and full third-party licence notices - #39

Merged
nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices
Nov 30, 2026
Merged

nodemode-ai merged 4 commits into
mainfrom
chore/launcher-and-notices

Conversation

@gbarnai

@gbarnai gbarnai commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • fix(agents): agent_lookup.py is the canonical FormVis 1.1.0 copy (sha256 313fcd40...1da8e), recorded in LOOKUP_HASHES; npm, pnpm and bun shims in any letter case start without cmd.exe, and other batch files go through cmd.exe /c only with words it passes unchanged
  • Routes keep returning 409 for the new CommandLineRefused (an OSError) rather than 500; the old copy's /d flag is gone with the canonical file
  • feat(licences): new setup/notices.py writes THIRD-PARTY-NOTICES.txt with the full licence texts of the 34 Python packages (wheels for other systems), the PyInstaller bootloader, the interpreter and its native libraries, the AppImage LGPL libraries, 28 npm packages, 468 crates and the downloads made on request (ffmpeg points to its formai-binaries notices and LGPL text)
  • python setup/notices.py --check runs in the CI tests job; NOTICE.md stays the human list and points to the file
  • The file ships in every Tauri bundle beside LICENSE and NOTICE.md, is frozen into the engine, served from GET /api/notices and shown under About FormMorpheus, Third-party notices
  • Tests: Windows starter behaviour (shims, refusals, recorded hash), the 409 route answer, the notices check and round trip, and the /api/notices route
  • Test plan: vitest 224 files, 3419 passed; pytest 854 passed, 1 failed (test_the_engine_never_finds_itself_as_the_app also fails on origin/main); lint 0 hits; contract in step; cargo check and the Windows starter on real Windows not run

Tests

  • The notices check and the tests for the launcher behaviour this app depends on were run locally on macOS; failures seen locally also fail on main. Please rely on this PR's CI.

How to ship

  • Independent of other repos. The shared launcher file is the same byte for byte in every Form app (agent_lookup 1.1.0, source in FormVis). No version bump; it can go into the next release.

…rter

agent_lookup.py is copied byte for byte from FormVis 1.1.0 and its hash is
recorded in LOOKUP_HASHES. npm, pnpm and bun shims in any letter case are
started as what they wrap; any other batch file goes through cmd.exe only
with words it passes unchanged. The refusal is CommandLineRefused, which the
open routes still answer with 409.
…hips

setup/notices.py writes the file from the pinned Python packages (wheels
for the other systems), the PyInstaller bootloader, the interpreter and its
native libraries, the production npm packages, every crate Cargo.lock
reaches and the downloads the app makes on request; --check runs in the CI
tests job. The file ships in every bundle beside LICENSE and NOTICE.md, is
frozen into the engine, served from /api/notices and shown under About,
Third-party notices.
@gbarnai
gbarnai requested a review from nodemode-ai as a code owner November 29, 2026 23:13
gbarnai and others added 2 commits November 29, 2026 19:47
…tream texts

34 crates published without a licence file now carry the texts in
setup/notices_texts/crates/<name>-<version>/ (33 from the upstream
repository at the published commit, selectors reconstructed from the
SPDX MPL-2.0 text). Each entry's note names the source from SOURCE.txt.
@nodemode-ai
nodemode-ai merged commit b4a949e into main Nov 30, 2026
14 checks passed
@nodemode-ai
nodemode-ai deleted the chore/launcher-and-notices branch November 30, 2026 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants